ThinkPHP5


think\exception\PDOException
library\think\exception\PDOException.php at line 20

Class PDOException

\Exception
└─Exception
└─DbException
└─PDOException

public class PDOException
extends DbException

PDO异常处理类 重新封装了系统的\PDOException类


Constructor Summary
void

__construct(\PDOException exception, array config, string sql, int code)

PDOException constructor.

Methods inherited from think\exception\DbException
__construct
Methods inherited from think\Exception
getData, setData

Constructor Detail

library\think\exception\PDOException.php at line 29

__construct

public void __construct(\PDOException exception, array config, string sql, int code)

PDOException constructor.


ThinkPHP5